package com.zongxingh.config.client.controller;

import com.zongxingh.config.client.service.ConfigClientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Introduction:  <简介>
 * Package Name:  com.zongxingh.config.client.controller
 * Project Name:  service-provider
 * Author:  zongxingh
 * Email： zongxingh@163.com
 * Tel: 157*****778
 * Create Time:  2020/6/18 16:32
 */
@RestController
@RequestMapping(value = "config/client")
public class ConfigClientController {

    @Autowired
    private ConfigClientService configClientService;

    @RequestMapping(value = "/hello")
    public String hello(){
        return configClientService.hello();
    }
}
